package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预警规则管理信息对象 tbl_alarm_rule
 * 
 * @author zbb
 * @date 2023-02-15
 */
public class AlarmRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预警规则ID */
    private Long ruleId;

    /** 是否全部卡口 */
    @Excel(name = "是否全部卡口")
    private String isQbkk;

    /** 是否替换原有规则 */
    @Excel(name = "是否替换原有规则")
    private String isThgz;

    /** 预警通行次数 */
    @Excel(name = "预警通行次数")
    private Long txcs;

    /** 设定时间间隔(分钟) */
    @Excel(name = "设定时间间隔(分钟)")
    private Long sjjg;

    /** 行政区域 */
    @Excel(name = "行政区域")
    private String xzqh;

    /** 卡口类型 */
    @Excel(name = "卡口类型")
    private String kklx;

    /** 卡口编号 */
    @Excel(name = "卡口编号")
    private String kkbh;

    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setIsQbkk(String isQbkk) 
    {
        this.isQbkk = isQbkk;
    }

    public String getIsQbkk() 
    {
        return isQbkk;
    }
    public void setIsThgz(String isThgz) 
    {
        this.isThgz = isThgz;
    }

    public String getIsThgz() 
    {
        return isThgz;
    }
    public void setTxcs(Long txcs) 
    {
        this.txcs = txcs;
    }

    public Long getTxcs() 
    {
        return txcs;
    }
    public void setSjjg(Long sjjg) 
    {
        this.sjjg = sjjg;
    }

    public Long getSjjg() 
    {
        return sjjg;
    }
    public void setXzqh(String xzqh) 
    {
        this.xzqh = xzqh;
    }

    public String getXzqh() 
    {
        return xzqh;
    }
    public void setKklx(String kklx) 
    {
        this.kklx = kklx;
    }

    public String getKklx() 
    {
        return kklx;
    }
    public void setKkbh(String kkbh) 
    {
        this.kkbh = kkbh;
    }

    public String getKkbh() 
    {
        return kkbh;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ruleId", getRuleId())
            .append("isQbkk", getIsQbkk())
            .append("isThgz", getIsThgz())
            .append("txcs", getTxcs())
            .append("sjjg", getSjjg())
            .append("xzqh", getXzqh())
            .append("kklx", getKklx())
            .append("kkbh", getKkbh())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
